package com.wpp.mapper;

import com.wpp.pojo.ArticlePO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author by wpp25
 * @Classname ArticleMapper
 * @Description
 * @Date 2020/11/7 10:51
 */
@Mapper
public interface ArticleMapper {

    List<ArticlePO> listByPage(@Param("offset") Integer offset, @Param("limit") Integer limit);

    int count();
}
